import UIBase from "../UIFrame/UIBase";
import { FormType } from "../UIFrame/config/SysDefine";
import { MaskType } from "../UIFrame/FrameType";
import { EventCenter } from "../UIFrame/EventCenter";

const { ccclass, property } = cc._decorator;

@ccclass
export default class PageOne extends UIBase {

    formType = FormType.PopUp

    canDestory = true;
    

    @property(cc.Node) close = null
    // onLoad () {}

    start() {

    }
    cons() {
        EventCenter.emit("add", 777)
    }

    closeFrom() {
        this.closeUIForm();
    }
    // update (dt) {}
}
